/*
    This file is part of Mobile Currency Reader.

    Mobile Currency Reader is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Mobile Currency Reader is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Mobile Currency Reader.  If not, see <http://www.gnu.org/licenses/>. 
    
    This software was developed by members of Project:Possibility, a software 
    collaboration for the disabled.
    
    For more information, visit http://projectpossibility.org
*/


/*
 * GeometryProcessor.java
 *
 * Created on November 17, 2007, 12:53 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package mobilecurrencyreader;

/**
 *
 * @author binarygame
 */
public interface GeometryProcessor {
    public ByteBufferImage translateImage(ByteBufferImage orig, int tx, int ty);
   public ByteBufferImage rotateImage(ByteBufferImage orig, float angle,double i0,double j0);
    public ByteBufferImage cropImage(ByteBufferImage orig, int tx, int ty, int newWidth, int newHeight);

    public ByteBufferImage scaleImage(ByteBufferImage orig, double sx, double sy);

    public ByteBufferImage extractImage(ByteBufferImage orig, VertexPoint verticeArray[]);   
    public VertexPoint[] detectAllVertices(ByteBufferImage img);
    public VertexPoint[] detectCornerVertices(ByteBufferImage img);
    
}
